/*
*创建数据库的连接对象 
*/

const mysql = require('mysql')

const db = mysql.createPool({
  host:'127.0.0.1',
  user:'root',
  password: '',
  database: 'my_db_01'
})

module.exports = db